package net.sppan.base.enumType;


/**
 *
 * 预约种类
 */
public enum AppointmentType {

    mg_cafe("mg_cafe","爵对cafe"),
    mg_culture("mg_culture","爵对文化"),
    mg_design("mg_design","爵对设计"),
    mg_power("mg_power","爵对力量");

    private String name;

    private String desc;


     AppointmentType(String name , String desc){
         this.name = name;
         this.desc = desc;
    }

    public static String getDescByName(String name){
         return AppointmentType.valueOf(name).desc;
    }

}
